<style>
    @font-face {
        font-family: ahem;
        src: url(Ahem.ttf);
    }
    * {
        font-family: ahem;
        margin: 0;
        padding: 0;
    }
    #text {
        background-color: transparent; /* Prevent scrolling layer promotion to it's own layer */
    }
</style>
<input id=target width=20 value='test test test test test tes tes test' style='width: 100px; height: 20px;'>
</input>
<script>
    target.select();
    target.scrollLeft = 100;

    var expectEditable = false;
    var expectEmptyTextFormControl = false;
    var yBottomEpsilon = 2;
    var startHidden = true;
    var endHidden = true;
    window.expectedResult = [document, -98, 3, -98, 17, document, 382, 3, 382, 17, expectEditable, expectEmptyTextFormControl, yBottomEpsilon, startHidden, endHidden, 50, 10];
</script>
